﻿/*
 * XCoder v3.4.2011.0316
 * 作者：nnhy/X
 * 时间：2011-04-04 11:54:06
 * 版权：版权所有 (C) 新生命开发团队 2010
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using XCode;
using XCode.DataAccessLayer;

namespace NXCMS.CMS
{
	/// <summary>
	/// 站点
	/// </summary>
	[Serializable]
	[DataObject]
	[Description("站点")]
	[BindTable("Site", Description = "站点", ConnName = "CMS", DbType = DatabaseType.SqlServer)]
	public partial class Site
	{
		#region 属性
		private Int32 _ID;
		/// <summary>
		/// 编号
		/// </summary>
		[Description("编号")]
		[DataObjectField(true, true, false, 10)]
		[BindColumn(1, "ID", "编号", "", "int", 10, 0, false)]
		public Int32 ID
		{
			get { return _ID; }
			set { if (OnPropertyChange("ID", value)) _ID = value; }
		}

		private String _Name;
		/// <summary>
		/// 名称
		/// </summary>
		[Description("名称")]
		[DataObjectField(false, false, false, 100)]
		[BindColumn(2, "Name", "名称", "", "nvarchar(100)", 0, 0, true)]
		public String Name
		{
			get { return _Name; }
			set { if (OnPropertyChange("Name", value)) _Name = value; }
		}

		private String _Alias;
		/// <summary>
		/// 别名
		/// </summary>
		[Description("别名")]
		[DataObjectField(false, false, false, 100)]
		[BindColumn(3, "Alias", "别名", "", "nvarchar(100)", 0, 0, true)]
		public String Alias
		{
			get { return _Alias; }
			set { if (OnPropertyChange("Alias", value)) _Alias = value; }
		}

		private String _Info;
		/// <summary>
		/// 信息
		/// </summary>
		[Description("信息")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(4, "Info", "信息", "", "nvarchar(100)", 0, 0, true)]
		public String Info
		{
			get { return _Info; }
			set { if (OnPropertyChange("Info", value)) _Info = value; }
		}

		private String _BranchInnerCode;
		/// <summary>
		/// 分支内部代码
		/// </summary>
		[Description("分支内部代码")]
		[DataObjectField(false, false, false, 100)]
		[BindColumn(5, "BranchInnerCode", "分支内部代码", "", "nvarchar(100)", 0, 0, true)]
		public String BranchInnerCode
		{
			get { return _BranchInnerCode; }
			set { if (OnPropertyChange("BranchInnerCode", value)) _BranchInnerCode = value; }
		}

		private String _URL;
		/// <summary>
		/// 网址
		/// </summary>
		[Description("网址")]
		[DataObjectField(false, false, false, 100)]
		[BindColumn(6, "URL", "网址", "", "nvarchar(100)", 0, 0, true)]
		public String URL
		{
			get { return _URL; }
			set { if (OnPropertyChange("URL", value)) _URL = value; }
		}

		private String _RootPath;
		/// <summary>
		/// 根路径
		/// </summary>
		[Description("根路径")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(7, "RootPath", "根路径", "", "nvarchar(100)", 0, 0, true)]
		public String RootPath
		{
			get { return _RootPath; }
			set { if (OnPropertyChange("RootPath", value)) _RootPath = value; }
		}

		private String _IndexTemplate;
		/// <summary>
		/// 索引模版
		/// </summary>
		[Description("索引模版")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(8, "IndexTemplate", "索引模版", "", "nvarchar(100)", 0, 0, true)]
		public String IndexTemplate
		{
			get { return _IndexTemplate; }
			set { if (OnPropertyChange("IndexTemplate", value)) _IndexTemplate = value; }
		}

		private String _ListTemplate;
		/// <summary>
		/// 列表模版
		/// </summary>
		[Description("列表模版")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(9, "ListTemplate", "列表模版", "", "nvarchar(100)", 0, 0, true)]
		public String ListTemplate
		{
			get { return _ListTemplate; }
			set { if (OnPropertyChange("ListTemplate", value)) _ListTemplate = value; }
		}

		private String _DetailTemplate;
		/// <summary>
		/// 详细模版
		/// </summary>
		[Description("详细模版")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(10, "DetailTemplate", "详细模版", "", "nvarchar(100)", 0, 0, true)]
		public String DetailTemplate
		{
			get { return _DetailTemplate; }
			set { if (OnPropertyChange("DetailTemplate", value)) _DetailTemplate = value; }
		}

		private String _EditorCss;
		/// <summary>
		/// 编辑或CSS
		/// </summary>
		[Description("编辑或CSS")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(11, "EditorCss", "编辑或CSS", "", "nvarchar(100)", 0, 0, true)]
		public String EditorCss
		{
			get { return _EditorCss; }
			set { if (OnPropertyChange("EditorCss", value)) _EditorCss = value; }
		}

		private String _Workflow;
		/// <summary>
		/// 流程
		/// </summary>
		[Description("流程")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(12, "Workflow", "流程", "", "nvarchar(100)", 0, 0, true)]
		public String Workflow
		{
			get { return _Workflow; }
			set { if (OnPropertyChange("Workflow", value)) _Workflow = value; }
		}

		private Int32 _OrderFlag;
		/// <summary>
		/// 订单标记
		/// </summary>
		[Description("订单标记")]
		[DataObjectField(false, false, true, 10)]
		[BindColumn(13, "OrderFlag", "订单标记", "", "int", 10, 0, false)]
		public Int32 OrderFlag
		{
			get { return _OrderFlag; }
			set { if (OnPropertyChange("OrderFlag", value)) _OrderFlag = value; }
		}

		private String _LogoFileName;
		/// <summary>
		/// 日志文件名称
		/// </summary>
		[Description("日志文件名称")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(14, "LogoFileName", "日志文件名称", "", "nvarchar(100)", 0, 0, true)]
		public String LogoFileName
		{
			get { return _LogoFileName; }
			set { if (OnPropertyChange("LogoFileName", value)) _LogoFileName = value; }
		}

		private Boolean _MessageBoardFlag;
		/// <summary>
		/// 消息栏目标记
		/// </summary>
		[Description("消息栏目标记")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(15, "MessageBoardFlag", "消息栏目标记", "", "bit", 0, 0, false)]
		public Boolean MessageBoardFlag
		{
			get { return _MessageBoardFlag; }
			set { if (OnPropertyChange("MessageBoardFlag", value)) _MessageBoardFlag = value; }
		}

		private String _CommentAuditFlag;
		/// <summary>
		/// 注释审核标记
		/// </summary>
		[Description("注释审核标记")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(16, "CommentAuditFlag", "注释审核标记", "", "nvarchar(1)", 0, 0, true)]
		public String CommentAuditFlag
		{
			get { return _CommentAuditFlag; }
			set { if (OnPropertyChange("CommentAuditFlag", value)) _CommentAuditFlag = value; }
		}

		private Int32 _ChannelCount;
		/// <summary>
		/// 频道数量
		/// </summary>
		[Description("频道数量")]
		[DataObjectField(false, false, false, 10)]
		[BindColumn(17, "ChannelCount", "频道数量", "", "int", 10, 0, false)]
		public Int32 ChannelCount
		{
			get { return _ChannelCount; }
			set { if (OnPropertyChange("ChannelCount", value)) _ChannelCount = value; }
		}

		private Int32 _MagzineCount;
		/// <summary>
		/// 杂志数量
		/// </summary>
		[Description("杂志数量")]
		[DataObjectField(false, false, false, 10)]
		[BindColumn(18, "MagzineCount", "杂志数量", "", "int", 10, 0, false)]
		public Int32 MagzineCount
		{
			get { return _MagzineCount; }
			set { if (OnPropertyChange("MagzineCount", value)) _MagzineCount = value; }
		}

		private Int32 _SpecialCount;
		/// <summary>
		/// 
		/// </summary>
		[Description("")]
		[DataObjectField(false, false, false, 10)]
		[BindColumn(19, "SpecialCount", "", "", "int", 10, 0, false)]
		public Int32 SpecialCount
		{
			get { return _SpecialCount; }
			set { if (OnPropertyChange("SpecialCount", value)) _SpecialCount = value; }
		}

		private Int32 _ImageLibCount;
		/// <summary>
		/// 图片库数量
		/// </summary>
		[Description("图片库数量")]
		[DataObjectField(false, false, false, 10)]
		[BindColumn(20, "ImageLibCount", "图片库数量", "", "int", 10, 0, false)]
		public Int32 ImageLibCount
		{
			get { return _ImageLibCount; }
			set { if (OnPropertyChange("ImageLibCount", value)) _ImageLibCount = value; }
		}

		private Int32 _VideoLibCount;
		/// <summary>
		/// 视频库数量
		/// </summary>
		[Description("视频库数量")]
		[DataObjectField(false, false, false, 10)]
		[BindColumn(21, "VideoLibCount", "视频库数量", "", "int", 10, 0, false)]
		public Int32 VideoLibCount
		{
			get { return _VideoLibCount; }
			set { if (OnPropertyChange("VideoLibCount", value)) _VideoLibCount = value; }
		}

		private Int32 _AudioLibCount;
		/// <summary>
		/// 声音库数量
		/// </summary>
		[Description("声音库数量")]
		[DataObjectField(false, false, false, 10)]
		[BindColumn(22, "AudioLibCount", "声音库数量", "", "int", 10, 0, false)]
		public Int32 AudioLibCount
		{
			get { return _AudioLibCount; }
			set { if (OnPropertyChange("AudioLibCount", value)) _AudioLibCount = value; }
		}

		private Int32 _AttachmentLibCount;
		/// <summary>
		/// 附件库数量
		/// </summary>
		[Description("附件库数量")]
		[DataObjectField(false, false, false, 10)]
		[BindColumn(23, "AttachmentLibCount", "附件库数量", "", "int", 10, 0, false)]
		public Int32 AttachmentLibCount
		{
			get { return _AttachmentLibCount; }
			set { if (OnPropertyChange("AttachmentLibCount", value)) _AttachmentLibCount = value; }
		}

		private Int32 _ArticleCount;
		/// <summary>
		/// 文章数量
		/// </summary>
		[Description("文章数量")]
		[DataObjectField(false, false, false, 10)]
		[BindColumn(24, "ArticleCount", "文章数量", "", "int", 10, 0, false)]
		public Int32 ArticleCount
		{
			get { return _ArticleCount; }
			set { if (OnPropertyChange("ArticleCount", value)) _ArticleCount = value; }
		}

		private Int32 _HitCount;
		/// <summary>
		/// 点击数量
		/// </summary>
		[Description("点击数量")]
		[DataObjectField(false, false, false, 10)]
		[BindColumn(25, "HitCount", "点击数量", "", "int", 10, 0, false)]
		public Int32 HitCount
		{
			get { return _HitCount; }
			set { if (OnPropertyChange("HitCount", value)) _HitCount = value; }
		}

		private String _ConfigXML;
		/// <summary>
		/// 设置Xml
		/// </summary>
		[Description("设置Xml")]
		[DataObjectField(false, false, true, 1073741823)]
		[BindColumn(26, "ConfigXML", "设置Xml", "", "ntext", 0, 0, true)]
		public String ConfigXML
		{
			get { return _ConfigXML; }
			set { if (OnPropertyChange("ConfigXML", value)) _ConfigXML = value; }
		}

		private Boolean _AutoIndexFlag;
		/// <summary>
		/// 自动索引标记
		/// </summary>
		[Description("自动索引标记")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(27, "AutoIndexFlag", "自动索引标记", "", "bit", 0, 0, false)]
		public Boolean AutoIndexFlag
		{
			get { return _AutoIndexFlag; }
			set { if (OnPropertyChange("AutoIndexFlag", value)) _AutoIndexFlag = value; }
		}

		private Boolean _AutoStatFlag;
		/// <summary>
		/// 自动统计标记
		/// </summary>
		[Description("自动统计标记")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(28, "AutoStatFlag", "自动统计标记", "", "bit", 0, 0, false)]
		public Boolean AutoStatFlag
		{
			get { return _AutoStatFlag; }
			set { if (OnPropertyChange("AutoStatFlag", value)) _AutoStatFlag = value; }
		}

		private String _HeaderTemplate;
		/// <summary>
		/// 头部模版
		/// </summary>
		[Description("头部模版")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(29, "HeaderTemplate", "头部模版", "", "nvarchar(100)", 0, 0, true)]
		public String HeaderTemplate
		{
			get { return _HeaderTemplate; }
			set { if (OnPropertyChange("HeaderTemplate", value)) _HeaderTemplate = value; }
		}

		private String _TopTemplate;
		/// <summary>
		/// 顶部模版
		/// </summary>
		[Description("顶部模版")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(30, "TopTemplate", "顶部模版", "", "nvarchar(100)", 0, 0, true)]
		public String TopTemplate
		{
			get { return _TopTemplate; }
			set { if (OnPropertyChange("TopTemplate", value)) _TopTemplate = value; }
		}

		private String _BottomTemplate;
		/// <summary>
		/// 底部模版
		/// </summary>
		[Description("底部模版")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(31, "BottomTemplate", "底部模版", "", "nvarchar(100)", 0, 0, true)]
		public String BottomTemplate
		{
			get { return _BottomTemplate; }
			set { if (OnPropertyChange("BottomTemplate", value)) _BottomTemplate = value; }
		}

		private Boolean _AllowContribute;
		/// <summary>
		/// 允许投稿
		/// </summary>
		[Description("允许投稿")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(32, "AllowContribute", "允许投稿", "", "bit", 0, 0, false)]
		public Boolean AllowContribute
		{
			get { return _AllowContribute; }
			set { if (OnPropertyChange("AllowContribute", value)) _AllowContribute = value; }
		}

		private Boolean _BBSEnableFlag;
		/// <summary>
		/// BBS启用标记
		/// </summary>
		[Description("BBS启用标记")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(33, "BBSEnableFlag", "BBS启用标记", "", "bit", 0, 0, false)]
		public Boolean BBSEnableFlag
		{
			get { return _BBSEnableFlag; }
			set { if (OnPropertyChange("BBSEnableFlag", value)) _BBSEnableFlag = value; }
		}

		private Boolean _ShopEnableFlag;
		/// <summary>
		/// 商铺启用标记
		/// </summary>
		[Description("商铺启用标记")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(34, "ShopEnableFlag", "商铺启用标记", "", "bit", 0, 0, false)]
		public Boolean ShopEnableFlag
		{
			get { return _ShopEnableFlag; }
			set { if (OnPropertyChange("ShopEnableFlag", value)) _ShopEnableFlag = value; }
		}

		private String _Meta_Keywords;
		/// <summary>
		/// 
		/// </summary>
		[Description("")]
		[DataObjectField(false, false, true, 200)]
		[BindColumn(35, "Meta_Keywords", "", "", "nvarchar(200)", 0, 0, true)]
		public String Meta_Keywords
		{
			get { return _Meta_Keywords; }
			set { if (OnPropertyChange("Meta_Keywords", value)) _Meta_Keywords = value; }
		}

		private String _Meta_Description;
		/// <summary>
		/// 
		/// </summary>
		[Description("")]
		[DataObjectField(false, false, true, 400)]
		[BindColumn(36, "Meta_Description", "", "", "nvarchar(400)", 0, 0, true)]
		public String Meta_Description
		{
			get { return _Meta_Description; }
			set { if (OnPropertyChange("Meta_Description", value)) _Meta_Description = value; }
		}

		private String _Prop1;
		/// <summary>
		/// 属性1
		/// </summary>
		[Description("属性1")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(37, "Prop1", "属性1", "", "nvarchar(100)", 0, 0, true)]
		public String Prop1
		{
			get { return _Prop1; }
			set { if (OnPropertyChange("Prop1", value)) _Prop1 = value; }
		}

		private String _Prop2;
		/// <summary>
		/// 属性2
		/// </summary>
		[Description("属性2")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(38, "Prop2", "属性2", "", "nvarchar(100)", 0, 0, true)]
		public String Prop2
		{
			get { return _Prop2; }
			set { if (OnPropertyChange("Prop2", value)) _Prop2 = value; }
		}

		private String _Prop3;
		/// <summary>
		/// 属性3
		/// </summary>
		[Description("属性3")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(39, "Prop3", "属性3", "", "nvarchar(100)", 0, 0, true)]
		public String Prop3
		{
			get { return _Prop3; }
			set { if (OnPropertyChange("Prop3", value)) _Prop3 = value; }
		}

		private String _Prop4;
		/// <summary>
		/// 属性4
		/// </summary>
		[Description("属性4")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(40, "Prop4", "属性4", "", "nvarchar(100)", 0, 0, true)]
		public String Prop4
		{
			get { return _Prop4; }
			set { if (OnPropertyChange("Prop4", value)) _Prop4 = value; }
		}

		private String _Prop5;
		/// <summary>
		/// 属性5
		/// </summary>
		[Description("属性5")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(41, "Prop5", "属性5", "", "nvarchar(100)", 0, 0, true)]
		public String Prop5
		{
			get { return _Prop5; }
			set { if (OnPropertyChange("Prop5", value)) _Prop5 = value; }
		}

		private String _Prop6;
		/// <summary>
		/// 属性6
		/// </summary>
		[Description("属性6")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(42, "Prop6", "属性6", "", "nvarchar(100)", 0, 0, true)]
		public String Prop6
		{
			get { return _Prop6; }
			set { if (OnPropertyChange("Prop6", value)) _Prop6 = value; }
		}

		private String _AddUser;
		/// <summary>
		/// 添加用户
		/// </summary>
		[Description("添加用户")]
		[DataObjectField(false, false, false, 200)]
		[BindColumn(43, "AddUser", "添加用户", "", "nvarchar(200)", 0, 0, true)]
		public String AddUser
		{
			get { return _AddUser; }
			set { if (OnPropertyChange("AddUser", value)) _AddUser = value; }
		}

		private DateTime _AddTime;
		/// <summary>
		/// 添加时间
		/// </summary>
		[Description("添加时间")]
		[DataObjectField(false, false, false, 7)]
		[BindColumn(44, "AddTime", "添加时间", "", "datetime2", 7, 0, false)]
		public DateTime AddTime
		{
			get { return _AddTime; }
			set { if (OnPropertyChange("AddTime", value)) _AddTime = value; }
		}

		private String _ModifyUser;
		/// <summary>
		/// 修改用户
		/// </summary>
		[Description("修改用户")]
		[DataObjectField(false, false, true, 200)]
		[BindColumn(45, "ModifyUser", "修改用户", "", "nvarchar(200)", 0, 0, true)]
		public String ModifyUser
		{
			get { return _ModifyUser; }
			set { if (OnPropertyChange("ModifyUser", value)) _ModifyUser = value; }
		}

		private DateTime _ModifyTime;
		/// <summary>
		/// 修改时间
		/// </summary>
		[Description("修改时间")]
		[DataObjectField(false, false, true, 7)]
		[BindColumn(46, "ModifyTime", "修改时间", "", "datetime2", 7, 0, false)]
		public DateTime ModifyTime
		{
			get { return _ModifyTime; }
			set { if (OnPropertyChange("ModifyTime", value)) _ModifyTime = value; }
		}

		private String _BackupNo;
		/// <summary>
		/// 备份编号
		/// </summary>
		[Description("备份编号")]
		[DataObjectField(false, false, true, 15)]
		[BindColumn(47, "BackupNo", "备份编号", "", "nvarchar(15)", 0, 0, true)]
		public String BackupNo
		{
			get { return _BackupNo; }
			set { if (OnPropertyChange("BackupNo", value)) _BackupNo = value; }
		}

		private String _BackupOperator;
		/// <summary>
		/// 备份操作者
		/// </summary>
		[Description("备份操作者")]
		[DataObjectField(false, false, true, 200)]
		[BindColumn(48, "BackupOperator", "备份操作者", "", "nvarchar(200)", 0, 0, true)]
		public String BackupOperator
		{
			get { return _BackupOperator; }
			set { if (OnPropertyChange("BackupOperator", value)) _BackupOperator = value; }
		}

		private DateTime _BackupTime;
		/// <summary>
		/// 备份时间
		/// </summary>
		[Description("备份时间")]
		[DataObjectField(false, false, true, 7)]
		[BindColumn(49, "BackupTime", "备份时间", "", "datetime2", 7, 0, false)]
		public DateTime BackupTime
		{
			get { return _BackupTime; }
			set { if (OnPropertyChange("BackupTime", value)) _BackupTime = value; }
		}

		private String _BackupMemo;
		/// <summary>
		/// 备份注释
		/// </summary>
		[Description("备份注释")]
		[DataObjectField(false, false, true, 50)]
		[BindColumn(50, "BackupMemo", "备份注释", "", "nvarchar(50)", 0, 0, true)]
		public String BackupMemo
		{
			get { return _BackupMemo; }
			set { if (OnPropertyChange("BackupMemo", value)) _BackupMemo = value; }
		}
		#endregion

		#region 获取/设置 字段值
		/// <summary>
		/// 获取/设置 字段值。
		/// 一个索引，基类使用反射实现。
		/// 派生实体类可重写该索引，以避免反射带来的性能损耗
		/// </summary>
		/// <param name="name">字段名</param>
		/// <returns></returns>
		public override Object this[String name]
		{
			get
			{
				switch (name)
				{
					case "ID" : return _ID;
					case "Name" : return _Name;
					case "Alias" : return _Alias;
					case "Info" : return _Info;
					case "BranchInnerCode" : return _BranchInnerCode;
					case "URL" : return _URL;
					case "RootPath" : return _RootPath;
					case "IndexTemplate" : return _IndexTemplate;
					case "ListTemplate" : return _ListTemplate;
					case "DetailTemplate" : return _DetailTemplate;
					case "EditorCss" : return _EditorCss;
					case "Workflow" : return _Workflow;
					case "OrderFlag" : return _OrderFlag;
					case "LogoFileName" : return _LogoFileName;
					case "MessageBoardFlag" : return _MessageBoardFlag;
					case "CommentAuditFlag" : return _CommentAuditFlag;
					case "ChannelCount" : return _ChannelCount;
					case "MagzineCount" : return _MagzineCount;
					case "SpecialCount" : return _SpecialCount;
					case "ImageLibCount" : return _ImageLibCount;
					case "VideoLibCount" : return _VideoLibCount;
					case "AudioLibCount" : return _AudioLibCount;
					case "AttachmentLibCount" : return _AttachmentLibCount;
					case "ArticleCount" : return _ArticleCount;
					case "HitCount" : return _HitCount;
					case "ConfigXML" : return _ConfigXML;
					case "AutoIndexFlag" : return _AutoIndexFlag;
					case "AutoStatFlag" : return _AutoStatFlag;
					case "HeaderTemplate" : return _HeaderTemplate;
					case "TopTemplate" : return _TopTemplate;
					case "BottomTemplate" : return _BottomTemplate;
					case "AllowContribute" : return _AllowContribute;
					case "BBSEnableFlag" : return _BBSEnableFlag;
					case "ShopEnableFlag" : return _ShopEnableFlag;
					case "Meta_Keywords" : return _Meta_Keywords;
					case "Meta_Description" : return _Meta_Description;
					case "Prop1" : return _Prop1;
					case "Prop2" : return _Prop2;
					case "Prop3" : return _Prop3;
					case "Prop4" : return _Prop4;
					case "Prop5" : return _Prop5;
					case "Prop6" : return _Prop6;
					case "AddUser" : return _AddUser;
					case "AddTime" : return _AddTime;
					case "ModifyUser" : return _ModifyUser;
					case "ModifyTime" : return _ModifyTime;
					case "BackupNo" : return _BackupNo;
					case "BackupOperator" : return _BackupOperator;
					case "BackupTime" : return _BackupTime;
					case "BackupMemo" : return _BackupMemo;
					default: return base[name];
				}
			}
			set
			{
				switch (name)
				{
					case "ID" : _ID = Convert.ToInt32(value); break;
					case "Name" : _Name = Convert.ToString(value); break;
					case "Alias" : _Alias = Convert.ToString(value); break;
					case "Info" : _Info = Convert.ToString(value); break;
					case "BranchInnerCode" : _BranchInnerCode = Convert.ToString(value); break;
					case "URL" : _URL = Convert.ToString(value); break;
					case "RootPath" : _RootPath = Convert.ToString(value); break;
					case "IndexTemplate" : _IndexTemplate = Convert.ToString(value); break;
					case "ListTemplate" : _ListTemplate = Convert.ToString(value); break;
					case "DetailTemplate" : _DetailTemplate = Convert.ToString(value); break;
					case "EditorCss" : _EditorCss = Convert.ToString(value); break;
					case "Workflow" : _Workflow = Convert.ToString(value); break;
					case "OrderFlag" : _OrderFlag = Convert.ToInt32(value); break;
					case "LogoFileName" : _LogoFileName = Convert.ToString(value); break;
					case "MessageBoardFlag" : _MessageBoardFlag = Convert.ToBoolean(value); break;
					case "CommentAuditFlag" : _CommentAuditFlag = Convert.ToString(value); break;
					case "ChannelCount" : _ChannelCount = Convert.ToInt32(value); break;
					case "MagzineCount" : _MagzineCount = Convert.ToInt32(value); break;
					case "SpecialCount" : _SpecialCount = Convert.ToInt32(value); break;
					case "ImageLibCount" : _ImageLibCount = Convert.ToInt32(value); break;
					case "VideoLibCount" : _VideoLibCount = Convert.ToInt32(value); break;
					case "AudioLibCount" : _AudioLibCount = Convert.ToInt32(value); break;
					case "AttachmentLibCount" : _AttachmentLibCount = Convert.ToInt32(value); break;
					case "ArticleCount" : _ArticleCount = Convert.ToInt32(value); break;
					case "HitCount" : _HitCount = Convert.ToInt32(value); break;
					case "ConfigXML" : _ConfigXML = Convert.ToString(value); break;
					case "AutoIndexFlag" : _AutoIndexFlag = Convert.ToBoolean(value); break;
					case "AutoStatFlag" : _AutoStatFlag = Convert.ToBoolean(value); break;
					case "HeaderTemplate" : _HeaderTemplate = Convert.ToString(value); break;
					case "TopTemplate" : _TopTemplate = Convert.ToString(value); break;
					case "BottomTemplate" : _BottomTemplate = Convert.ToString(value); break;
					case "AllowContribute" : _AllowContribute = Convert.ToBoolean(value); break;
					case "BBSEnableFlag" : _BBSEnableFlag = Convert.ToBoolean(value); break;
					case "ShopEnableFlag" : _ShopEnableFlag = Convert.ToBoolean(value); break;
					case "Meta_Keywords" : _Meta_Keywords = Convert.ToString(value); break;
					case "Meta_Description" : _Meta_Description = Convert.ToString(value); break;
					case "Prop1" : _Prop1 = Convert.ToString(value); break;
					case "Prop2" : _Prop2 = Convert.ToString(value); break;
					case "Prop3" : _Prop3 = Convert.ToString(value); break;
					case "Prop4" : _Prop4 = Convert.ToString(value); break;
					case "Prop5" : _Prop5 = Convert.ToString(value); break;
					case "Prop6" : _Prop6 = Convert.ToString(value); break;
					case "AddUser" : _AddUser = Convert.ToString(value); break;
					case "AddTime" : _AddTime = Convert.ToDateTime(value); break;
					case "ModifyUser" : _ModifyUser = Convert.ToString(value); break;
					case "ModifyTime" : _ModifyTime = Convert.ToDateTime(value); break;
					case "BackupNo" : _BackupNo = Convert.ToString(value); break;
					case "BackupOperator" : _BackupOperator = Convert.ToString(value); break;
					case "BackupTime" : _BackupTime = Convert.ToDateTime(value); break;
					case "BackupMemo" : _BackupMemo = Convert.ToString(value); break;
					default: base[name] = value; break;
				}
			}
		}
		#endregion

		#region 字段名
		/// <summary>
		/// 取得站点字段名的快捷方式
		/// </summary>
		public class _
		{
			///<summary>
			/// 编号
			///</summary>
			public const String ID = "ID";

			///<summary>
			/// 名称
			///</summary>
			public const String Name = "Name";

			///<summary>
			/// 别名
			///</summary>
			public const String Alias = "Alias";

			///<summary>
			/// 信息
			///</summary>
			public const String Info = "Info";

			///<summary>
			/// 分支内部代码
			///</summary>
			public const String BranchInnerCode = "BranchInnerCode";

			///<summary>
			/// 网址
			///</summary>
			public const String URL = "URL";

			///<summary>
			/// 根路径
			///</summary>
			public const String RootPath = "RootPath";

			///<summary>
			/// 索引模版
			///</summary>
			public const String IndexTemplate = "IndexTemplate";

			///<summary>
			/// 列表模版
			///</summary>
			public const String ListTemplate = "ListTemplate";

			///<summary>
			/// 详细模版
			///</summary>
			public const String DetailTemplate = "DetailTemplate";

			///<summary>
			/// 编辑或CSS
			///</summary>
			public const String EditorCss = "EditorCss";

			///<summary>
			/// 流程
			///</summary>
			public const String Workflow = "Workflow";

			///<summary>
			/// 订单标记
			///</summary>
			public const String OrderFlag = "OrderFlag";

			///<summary>
			/// 日志文件名称
			///</summary>
			public const String LogoFileName = "LogoFileName";

			///<summary>
			/// 消息栏目标记
			///</summary>
			public const String MessageBoardFlag = "MessageBoardFlag";

			///<summary>
			/// 注释审核标记
			///</summary>
			public const String CommentAuditFlag = "CommentAuditFlag";

			///<summary>
			/// 频道数量
			///</summary>
			public const String ChannelCount = "ChannelCount";

			///<summary>
			/// 杂志数量
			///</summary>
			public const String MagzineCount = "MagzineCount";

			///<summary>
			/// 
			///</summary>
			public const String SpecialCount = "SpecialCount";

			///<summary>
			/// 图片库数量
			///</summary>
			public const String ImageLibCount = "ImageLibCount";

			///<summary>
			/// 视频库数量
			///</summary>
			public const String VideoLibCount = "VideoLibCount";

			///<summary>
			/// 声音库数量
			///</summary>
			public const String AudioLibCount = "AudioLibCount";

			///<summary>
			/// 附件库数量
			///</summary>
			public const String AttachmentLibCount = "AttachmentLibCount";

			///<summary>
			/// 文章数量
			///</summary>
			public const String ArticleCount = "ArticleCount";

			///<summary>
			/// 点击数量
			///</summary>
			public const String HitCount = "HitCount";

			///<summary>
			/// 设置Xml
			///</summary>
			public const String ConfigXML = "ConfigXML";

			///<summary>
			/// 自动索引标记
			///</summary>
			public const String AutoIndexFlag = "AutoIndexFlag";

			///<summary>
			/// 自动统计标记
			///</summary>
			public const String AutoStatFlag = "AutoStatFlag";

			///<summary>
			/// 头部模版
			///</summary>
			public const String HeaderTemplate = "HeaderTemplate";

			///<summary>
			/// 顶部模版
			///</summary>
			public const String TopTemplate = "TopTemplate";

			///<summary>
			/// 底部模版
			///</summary>
			public const String BottomTemplate = "BottomTemplate";

			///<summary>
			/// 允许投稿
			///</summary>
			public const String AllowContribute = "AllowContribute";

			///<summary>
			/// BBS启用标记
			///</summary>
			public const String BBSEnableFlag = "BBSEnableFlag";

			///<summary>
			/// 商铺启用标记
			///</summary>
			public const String ShopEnableFlag = "ShopEnableFlag";

			///<summary>
			/// 
			///</summary>
			public const String Meta_Keywords = "Meta_Keywords";

			///<summary>
			/// 
			///</summary>
			public const String Meta_Description = "Meta_Description";

			///<summary>
			/// 属性1
			///</summary>
			public const String Prop1 = "Prop1";

			///<summary>
			/// 属性2
			///</summary>
			public const String Prop2 = "Prop2";

			///<summary>
			/// 属性3
			///</summary>
			public const String Prop3 = "Prop3";

			///<summary>
			/// 属性4
			///</summary>
			public const String Prop4 = "Prop4";

			///<summary>
			/// 属性5
			///</summary>
			public const String Prop5 = "Prop5";

			///<summary>
			/// 属性6
			///</summary>
			public const String Prop6 = "Prop6";

			///<summary>
			/// 添加用户
			///</summary>
			public const String AddUser = "AddUser";

			///<summary>
			/// 添加时间
			///</summary>
			public const String AddTime = "AddTime";

			///<summary>
			/// 修改用户
			///</summary>
			public const String ModifyUser = "ModifyUser";

			///<summary>
			/// 修改时间
			///</summary>
			public const String ModifyTime = "ModifyTime";

			///<summary>
			/// 备份编号
			///</summary>
			public const String BackupNo = "BackupNo";

			///<summary>
			/// 备份操作者
			///</summary>
			public const String BackupOperator = "BackupOperator";

			///<summary>
			/// 备份时间
			///</summary>
			public const String BackupTime = "BackupTime";

			///<summary>
			/// 备份注释
			///</summary>
			public const String BackupMemo = "BackupMemo";
		}
		#endregion
	}
}